﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

/**
 * Lists all available states in Iceland
 * The list is taken from 
 * http://is.wikipedia.org/wiki/S%C3%BDslur_%C3%A1_%C3%8Dslandi
 * 
 * @author Ingi Gauti Ragnarsson
 */
namespace Is.Net.Country {
	public class State {
		public string Name {get;set;}

		//The size of the state in Km2
		public double Size {get;set;}

		public State(string name, double size) {
			Name = name;
			Size = size;
		}
	}

	public class States {
		public static List<State> GetStates() {
			var l = new List<State>();
			l.Add(new State("Árnessýsla",	7.932));
			l.Add(new State("Austur-Barðastrandarsýsla",	1.074));
			l.Add(new State("Austur-Húnavatnssýsla",	4.295));
			l.Add(new State("Austur-Skaftafellssýsla",	3.041));
			l.Add(new State("Borgarfjarðarsýsla",	1.786));
			l.Add(new State("Dalasýsla",	2.078));
			l.Add(new State("Eyjafjarðarsýsla",	4.089));
			l.Add(new State("Gullbringusýsla",	1.216));
			l.Add(new State("Kjósarsýsla",	664));
			l.Add(new State("Mýrasýsla",	3.092));
			l.Add(new State("Norður-Ísafjarðarsýsla",	1.958));
			l.Add(new State("Norður-Múlasýsla",	10.568));
			l.Add(new State("Norður-Þingeyjarsýsla",	5.393));
			l.Add(new State("Rangárvallasýsla",	7.365));
			l.Add(new State("Skagafjarðarsýsla",	5.040));
			l.Add(new State("Snæfellsnes-og Hnappadalssýsla",	2.163));
			l.Add(new State("Strandasýsla",	3.465));
			l.Add(new State("Suður-Múlasýsla",	3.970));
			l.Add(new State("Suður-Þingeyjarsýsla",	11.134));
			l.Add(new State("Vestur-Barðastrandarsýsla",	1.519));
			l.Add(new State("Vestur-Húnavatnssýsla",	2.663));
			l.Add(new State("Vestur-Ísafjarðarsýsla",	1.221));
			l.Add(new State("Vestur-Skaftafellssýsla", 5.663));

			return l;
		}
	}
}
